package com.xyh.affairs.communication;

import com.xyh.affairs.utils.Task;
import com.xyh.affairs.utils.TransactionType;

/**
 * @version v1.0
 * @类描述：创建事务对象
 * @项目名称：
 * @包名： com.xyh.affairs.communication
 * @类名称：TransactionVO
 * @创建人：YIHANG.XU
 * @创建时间：2020/8/93:00 下午
 * @修改人：YIHANG.XU
 * @修改时间：2020/8/93:00 下午
 * @修改备注：
 * @Copyright
 */
public class TransactionVo {
   private String groupId;
   private String transactionId;
   private String transactionType;
   private Task task;

    public TransactionVo(String groupId, String transactionId, String transactionType) {
        this.groupId = groupId;
        this.transactionId = transactionId;
        this.transactionType = transactionType;
        this.task = new Task();
    }

    public TransactionVo(String groupId, String transactionId) {
        this.groupId = groupId;
        this.transactionId = transactionId;

    }

    public TransactionVo() {

    }

    public String getGroupId() {
        return groupId;
    }

    public void setGroupId(String groupId) {
        this.groupId = groupId;
    }

    public String getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(String transactionId) {
        this.transactionId = transactionId;
    }

    public String getTransactionType() {
        return transactionType;
    }

    public void setTransactionType(String transactionType) {
        this.transactionType = transactionType;
    }

    public Task getTask() {
        return task;
    }

    public void setTask(Task task) {
        this.task = task;
    }
}
